<?php if (isset($this->paginator) && count($this->paginator)):?> 
    <?php foreach ($this->paginator as $question): ?>
        <div class="poll_title">
            <?php $owner = Engine_Api::_()->user()->getUser($question->user_id);?>
            <div class="owner_avatar"><?php echo $this->htmlLink($owner->getHref(), $this->UPhoto($owner, 'thumb.icon'));?></div>
            <div class="questions_question_content">
                <?php echo $this->translate('%s asked %s', $this->htmlLink($owner->getHref(), $owner->getTitle()), $this->htmlLink($question->getHref(), $question->getTitle()));?>
                <div class="poll_options_container">
                <?php echo $this->partial('_displayPoll.tpl', 'poll', array('item' => $question, 'options' => $question->getOptions(), 'show_title' => true));?>
                </div>
            </div>
        </div>        
    <?php endforeach; ?>
    <?php echo $this->paginationControl($this->paginator);?>
<?php else: ?>
<div class="tip">
  <span>
    <?php echo $this->translate("Nothing has been posted here yet!") ?>
  </span>
</div>    
<?php endif;?>